from flask_wtf import FlaskForm
from wtforms import StringField, SelectMultipleField, SubmitField
from wtforms.validators import DataRequired

class ProfileForm(FlaskForm):
    name = StringField('姓名', validators=[DataRequired()])
    skills = SelectMultipleField('我的技能', coerce=int)
    submit = SubmitField('保存')